package cn.fbs.dao.mysql;

import cn.fbs.model.TCodeTargetType;
import cn.fbs.model.TargetTree;

import java.util.List;

public interface TCodeTargetTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TCodeTargetType record);

    int insertSelective(TCodeTargetType record);

    TCodeTargetType selectByPrimaryKey(Integer id);
    List<TCodeTargetType> selectAll();

    int updateByPrimaryKeySelective(TCodeTargetType record);

    int updateByPrimaryKey(TCodeTargetType record);

    List<TCodeTargetType> likeQuery(String targetName);

    List<TargetTree> getTargetTree();

    Integer selectByPid(Integer pId);
}